*{
    padding: 0;
    margin: 0;
}

input{
    outline: none;
}

.icon {
   width: 1em;
   height: 1em;
   vertical-align: -0.15em;
   fill: currentColor;
   overflow: hidden;
}

body{
    display: flex;
    flex-flow: wrap row;
    justify-content: center;
    align-content: center;
}

header{
    width: 100%;
    height: 60px;
    background-color: black;
    border-bottom: 1px solid #ddd;
}

nav{
    width: 95%;
    height: 60px;
    margin: auto;
    background-color: black;
}

nav div{
    display: inline-block;
}

.logo>img{
    width: 150px;
    height: 60px;
    margin-left: 40px;
}

.nav_search{
    width: 240px;
    height: 60px;
   /* border: 1px solid #ddd;*/
    margin-top: 10px;
    position: absolute;
    left:280px;
}

.nav_search input{
    background-color: transparent;
    color: white;
    width: 180px;
    height: 20px;
    margin-top: 15px;
    border: none;
    border-bottom: 1px solid gray;
}

.icon_search{
    color: white;
}

.icon_search:hover{
    color: red;
    cursor: pointer;
}

.nav_login{
    width: auto;
    height: 70px;
    position: absolute;
    right: 2.5%;
    /*display: none;*/
}

.nav_login ul li{
    cursor: pointer;
    color: gray;
    float: left;
    list-style: none;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 70px;
}

.nav_login ul li:hover{
    color: red;
}


/*宸茬櫥褰�/
 #img_own{
    width: 50px;
    height: 50px;
    background-color: #ddd;
    text-align: center;
    margin-top: 5px;
    position: absolute;
    right: 2.5%;
    border-radius: 100%;
    display: none;
}



/*=================================================
    韬綋閮ㄥ垎
=============================================*/        
 section {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    align-items: center;
}

.search_box{
    width: 100%;
    height: 150px;
    background-color: #ddd;
}

#search_bg{
    width: 700px;
    height: 50px;
    background-color: white;
    margin: 0 auto;
    margin-top: 40px;
    position: relative;
}

.s_icon{
    width: 50px;
    height: 50px;
}

.s_icon svg{
    width: 30px;
    height: 30px;
    margin: 10px;
}

.search_input{
    width: 570px;
    height: 50px;
    background-color: white;
    position: absolute;
    border: none;
    font-size: 20px;
}

.search_msg{
    width: 80px;
    height: 50px;
    background-color: red;
    position: absolute;
    right: 0px;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 20px;
}

.search_msg:hover{
    cursor: pointer;
}

.hot_search{
    position: relative;
    font-size: 14px;
    line-height: 25px;
    color: darkgrey;
    width: 700px;
    height: 25px;
    margin: auto;
}

.hot_search span{
    width: 60px;
}
.hot_search ul{
    width: 500px;
    height: 25px;
    position: absolute;
    left: 70px;
    top: 1px;
}
.hot_search ul li{
    padding-left: 10px;
    padding-right: 5px;
    list-style: none;
    float: left;
    cursor: pointer;
}

.hot_search ul li:hover{
    color: #d12;
}

/*-----------------鎵惧埌鐨勮绋�----------------*/
.find_classes{
    width: 900px;
    height: 600px;/*
    background-color: lightgray;*/
}

.find_error{
    width: 100%;
    height: 300px;
    text-align: center;
    font-size: 20px;
    color: gray;
    margin-top: 100px;
}

a{
    color: black;
}

#find_msg{
    width: 100%;
    font-size: 20px;
    margin-top: 20px;
    padding-left: 20px;
    padding-bottom: 10px;
    display: none;
}

.find_each{
    color: black;
    width: 900px;
    height: 200px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.find_each:hover{
    border: 1px solid #ddd;
    box-shadow:-2px 0px 18px lightgray,
            0px 2px 18px lightgray;;    
}


.find_each img{
    width: 250px;
    height: 160px;
    margin-top: 20px;
    margin-left: 20px;
}


.class_msg{
    display: inline-block;
    width: 600px;
    height: 200px;
    position: absolute;
    margin-left: 20px;
    cursor:pointer;
}

.class_msg>div{
    margin-left: 40px;
    margin-top: 15px;
}

.class_msg>.class_name{
    font-size: 20px;
    margin-top: 10px;
    margin-left: 40px;
}

.class_name:hover{
    color: red;
}

.class_msg>.class_learns{
    font-size: 14px;
    color: gray;
}

.class_learns>div{
    display: inline-block;
    margin-right: 20px
}

/*
.class_author{
    margin-left: 40px;
    margin-top: 15px;
}

.class_info{
    margin-left: 40px;
    margin-top: 15px;
}
*/

.class_info span{
	font-size:14px;
}

/*-----------------------鑴氶儴---------------------------*/
footer{
    border-top: 1px solid #ddd;
    width: 100%;
    height: 20px;
    margin-top: 20px;
    background-color: white;
    text-align: center;
    position: relative;
    bottom: 0px;
}